<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<%@ include file="../../common/headConfig.jsp"%>
	<link rel="stylesheet" href="css/vehicleGroup.css" />
	<script type="text/javascript" src="js/superviseManagement/taskUnsupervise.js"></script>
	<script type="text/javascript" src="js/superviseManagement/unsuperviseRecord.js"></script>
	
	<script>
		rivmsMenuActive = "rivms_SuperviseManagement";
		 $(document).ready(function() {
		 	$( "button" ).button();
			ajaxFindTaskUnsuperviseSearchList();
		 });
	</script>
</head>
<body>
	<div id="rvimsContent">
		<%@ include file="../../common/header.jsp"%>
		<div id="rvimsMain">
			<div style="width: 100%;">
				<div class="crumbbox">当前位置：布控管理：&gt;&gt;撤控管理&gt;&gt;<font color="red">任务撤控管理</font></div>
				<div class="buttonbox">
					<button onclick="ajaxShowUnsuperviseInfoEdit(null);return false;">撤控</button>
				</div>
				<div id="sltTaskUnsupervise"  class="searchbox">
						<table style="background-color: #3BAAE3;width: 100%;min-width:930px;" cellspacing="0" cellpadding="0">
							<tr>
								<td align="right">任务名称：</td>
								<td><input type="text" id="plateNum"></td>
								<td align="right">布控类型：</td>
								<td>
									<select id="vehicleColor">
										<option value="">---请选择---</option>
										<c:forEach items="${lstVehicleColor}" var="vehicleColor">
											<option value="${vehicleColor.id }">${vehicleColor.name }</option>
										</c:forEach>
									</select>
								</td>
								<td align="right">布控状态：</td>
								<td>
									<select id="vehicleType">
										<option value="">---请选择---</option>
										<c:forEach items="${lstVehicleType}" var="vehicleType">
											<option value="${vehicleType.id }">${vehicleType.name }</option>
										</c:forEach>
									</select>
								</td>
								<td>
									<button onclick="ajaxFindTaskUnsuperviseSearchList()" style="width:75px;">查询</button>
								</td>
							</tr>
							<tr>
								<td align="right">布控时间&nbsp;从：</td>
								<td>
									<input type="text" id="11" name="11" class="date" readonly="readonly" value="<c:out value=''/>"/>								
								</td>
								<td align="right">到：</td>
								<td>
									<input type="text" id="22" name="22" class="date" readonly="readonly" value="<c:out value=''/>"/>
								</td>
								<td></td>
								<td>
								</td>
								<td>
									<button onclick="clearInput('#sltTaskUnsupervise')" style="width:75px;">重置</button>
								</td>
							</tr>
						</table>
				</div>
				<form id="fmTaskUnsupervise" method="post"><input type="hidden" id="superviseVehicleId" name="superviseVehicleId"></form>
				<div id="listTaskUnsuperviseBox" style="width: 100%;"></div>
			</div>
		</div>
		<%@ include file="../../common/footer.jsp"%>
	</div>
</body>
<script>
	$("#11").datepicker({
	      changeMonth: true,
	      numberOfMonths: 1,
	      onClose: function( selectedDate ) {
	        $( "#22" ).datepicker( "option", "minDate", selectedDate );
	      }
	    });
	$("#22").datepicker({
	      changeMonth: true,
	      numberOfMonths: 1,
	      onClose: function( selectedDate ) {
	        $( "#11" ).datepicker( "option", "maxDate", selectedDate );
	      }
	    });
</script>
</html>